import React, { Component } from 'react'
import {HashRouter,Switch,Route} from "react-router-dom"
import Home from "./components/Home"  //input
import One from "./views/One"
export class Router extends Component {
    render() {
        return (
          <HashRouter>
              <Switch>
                  <Route path='/home'  component={Home}></Route>
                  <Route path='/'  component={One}></Route>
              </Switch>
          </HashRouter>
        )
    }
}

export default Router
